<template>
    <div class="courseContainer" >
         <!-- 总导航假的 -->
         <!-- <Headerbanner/> -->
        <!-- 课程上部导航 -->
        <TopNav/>
      <div class="main">
        
        <router-view></router-view>
      </div>
    </div>
</template>

<script setup lang="ts">
import {onMounted } from "vue"
import TopNav from './components/topNav/navTop.vue';
import {reqCategory} from "../../api/course/course"

// const getList =async ()=>{
//      const result = await reqCategory()
//      console.log(result);
     
     

</script>

<style scoped>
.courseContainer{
    /* margin-top: 60px; */
    background: rgb(245,247,249);
}
.main{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    margin-top: 15px;
}
</style>